package com.leinao;

import com.leinao.session.WebSocketSessionRegister;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * 启动类
 *
 * @author zhong.wang
 * @date 2025/2/5
 */
@SpringBootApplication
public class WebSocketClusterApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(WebSocketClusterApplication.class);
        WebSocketSessionRegister bean = run.getBean(WebSocketSessionRegister.class);
        System.out.println(bean);
    }
}
